home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr36 / putt100.zip / CAPI.ZIP / WINDOWS.ZIP / MAKEWIN.BC < prev    next >
Text File  |  1993-07-01  |  2KB  |  48 lines

  1. #
  2. #   JAM(mbp) - The Joaquim-Andrew-Mats Message Base Proposal
  3. #
  4. #   C API
  5. #
  6. #   Written by Mats Wallin
  7. #
  8. #   ----------------------------------------------------------------------
  9. #
  10. #   makefile (JAMmb)
  11. #
  12. #   Make file for JAM(mbp) C API library and Borland C++ 3.1
  13. #
  14. #   This makefile creates a Windows DLL file.
  15. #   The resulting DLL file will require a 286 or later, and Windows in
  16. #   protected mode.
  17. #
  18. #   Copyright 1993 Joaquim Homrighausen, Andrew Milner, Mats Birch, and
  19. #   Mats Wallin. ALL RIGHTS RESERVED.
  20. #
  21. CMDL    = l
  22. CC      = bcc
  23. RC      = brc
  24. LIBPATH = c:\lib\bcw
  25. INCPATH = c:\h\bc
  26. CFLAGS  = -c -2 -G -Ox -m$(CMDL) -WDE -w -D_WINDOWS -a-
  27.  
  28. OBJS    = jamfetch.obj jamfield.obj jamhinfo.obj jamlock.obj\
  29.           jamlread.obj jammbini.obj jamscan.obj  jamstore.obj\
  30.           jamcrc32.obj jamsys.obj
  31.  
  32. .c.obj:
  33.     $(CC) $(CFLAGS) {$< }
  34.  
  35. jamapi.dll:     $(OBJS)
  36.         echo $(LIBPATH)\c0d$(CMDL).obj                           +  >  $*.rsp
  37.         echo jamfetch.obj jamfield.obj jamhinfo.obj jamlock.obj  +  >> $*.rsp
  38.         echo jamlread.obj jammbini.obj jamscan.obj  jamstore.obj +  >> $*.rsp
  39.         echo jamcrc32.obj jamsys.obj                                >> $*.rsp
  40.         echo $@                                                     >> $*.rsp
  41.         echo $*.map                                                 >> $*.rsp
  42.         echo $(LIBPATH)\IMPORT.LIB $(LIBPATH)\CW$(CMDL) /A=16 /c    >> $*.rsp
  43.         echo $*.def                                                 >> $*.rsp
  44.         tlink @$*.rsp
  45.         $(RC) -t -30 -i$(INCPATH) $* $@
  46.         implib /i $*.lib $@
  47.         del $*.rsp
  48.